package com.ys.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.common.utils.PageUtils;
import com.ys.gulimall.product.entity.SpuInfoEntity;
import com.ys.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author yeswater
 * @email ruobairuo@gmail.com
 * @date 2021-07-16 16:28:06
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
	
	void saveSupInfo(SpuSaveVo vo);
	
	void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);
	
	PageUtils queryPageByCondition(Map<String, Object> params);
	
	void up(Long spuId);
	
	SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

